package com.yc.boot.sys.model.update;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * @author 杨智杰
 * @since 2021/8/25 14:13
 */
@Data
@Accessors(chain = true)
@ApiModel("重置用户部门列表数据模型")
public class ResetUserDept {

    @NotNull
    @ApiModelProperty(value = "用户Id", required = true)
    private Long userId;

    @Size(min = 1)
    @ApiModelProperty(value = "部门Id", required = true)
    private List<Long> deptIds;
}
